<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>mvvm</title>

</head>

<body>
  <div id='app'>
    <div>a的值是：{{a.a}}</div>
    <p>b的值是：{{b}}</p>
    <input type="text" v-model='b'>
  </div>
  <script src="./mvvm.js"></script>
  <script>
    let vm = Mvvm({
      el: '#app',
      data: {
        a: {
          a: '是a'
        },
        b: '是b'
      }
    })
  </script>
</body>

</html>